package com.dhsc.local.dao.impl.csgl;

import java.util.List;

import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.dhsc.domain.ywzx.csgl.YwkmglVo;
import com.dhsc.local.dao.csgl.IYwkmglDao;

/**
 * @ClassName: YwkmglDaoImpl
 * @Description: 业务科目管理
 * @date: 2023/9/11 14:38
 * @author: gx
 */
@Repository("ywkmgldao")
public class YwkmglDaoImpl implements IYwkmglDao {

	@Autowired
	private SqlSessionTemplate localSqlSessionTemplate;


    @Override
    public List<YwkmglVo> queryYwkmgl(YwkmglVo ywkmglVo) {
        return localSqlSessionTemplate.selectList("YwkmglMapper.queryYwkmgl",ywkmglVo);
    }

    @Override
    public int updateYwkmgl(YwkmglVo ywkmglVo) {
        return localSqlSessionTemplate.update("YwkmglMapper.updateYwkmgl",ywkmglVo);
    }
}
